package com.tledu.zyf.dao.impl;

import com.tledu.zyf.dao.IUserDao;
import com.tledu.zyf.util.New;

@New
public class UserDao implements IUserDao {
	@Override
	public void login(String username, String password) {
		if ("admin".equals(username) && "root".equals(password)) {
			System.out.println("登陆成功");
		} else {
			System.out.println("登陆失败");
		}
	}
}
